package com.cloud.DrugManagement.pojo.vo;

import com.cloud.DrugManagement.pojo.OrderDetails;
import lombok.Data;

/**
 * @author zhozixiong
 * @date 2023/02/22
 */
@Data
public class OrderDetailsVo extends OrderDetails {

    private Double totalAmount;

    public OrderDetailsVo(OrderDetails orderDetails, double totalAmount) {
        super(orderDetails);
        this.totalAmount = totalAmount;
    }

    public OrderDetailsVo(OrderDetails orderDetails) {
        super(orderDetails);
    }
}
